FROM openjdk:8
COPY target/demo-0.0.1-SNAPSHOT.jar app.jar
CMD ["--server.port=8080"]
EXPOSE 8080
ENTRYPOINT exec java -jar /app.jar